﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NanjingbeiRailwayStation.Core
{
    /// <summary>
    /// 字符常量
    /// </summary>
    public class StringConstant
    {

        /// <summary>
        /// ZipkinUrl 
        /// </summary>

        public static readonly string ZipkinUrl = "http://121.196.236.225:12031/api/v2/spans";


        /// <summary>
        /// 
        /// </summary>
        
      public static readonly string ElasticsearchUrl = "http://121.196.236.225:12033";

        /// <summary>
        /// 
        /// </summary>
        public static readonly string GrafanaLoki = "http://121.196.236.225:12032";

       
        /// <summary>
        /// ClickHouse 数据库 地址
        /// </summary>
        public static readonly string ClickHouseConnectionString = "Host=121.196.236.225;Port=12012;Database=jindujiangong;Username=admin;Password=admin;";

        /// <summary>
        /// Postgres 数据库 地址
        /// </summary>

        
        /// <summary>
        /// web api 服务端口号
        /// </summary>
        public static readonly int Port = 8080;


        /// <summary>
        /// 
        /// </summary>
        public static readonly string LocalMessageHubUrl = "http://127.0.0.1:8080/messageHub";


        /// <summary>
        /// 广播事件上报
        /// </summary>

        public static readonly string BroadcastEventReport = "BroadcastEventReport";


        /// <summary>
        /// 广播实时电参数
        /// </summary>
        public static readonly string BroadcastRealTimeElectricalParameters = "BroadcastRealTimeElectricalParameters";


        /// <summary>
        /// 事件通知
        /// </summary>
        public static readonly string EventNotification = "EventNotification";

        /// <summary>
        /// 
        /// </summary>
        public static readonly string RealTime = "RealTime";

        /// <summary>
        /// 
        /// </summary>

        public static readonly string Error = "Error";


        /// <summary>
        /// 今日用电量
        /// </summary>
        public static readonly string TodayElectricityConsumption = "TodayElectricityConsumption";


        /// <summary>
        /// 今日报警次数
        /// </summary>
        public static readonly string TodayAlarmFrequency = "TodayAlarmFrequency";

        /// <summary>
        /// 告警类型分布
        /// </summary>
        public static readonly string AlarmTypeDistribution = "AlarmTypeDistribution";

        /// <summary>
        /// 今日碳排放
        /// </summary>
        public static readonly string TodayCarbonEmission = "TodayCarbonEmission";


        /// <summary>
        /// 损耗比
        /// </summary>
        public static readonly string TodayLossRatio = "TodayLossRatio";


        /// <summary>
        /// 排行行
        /// </summary>
        public static readonly string EnergyConsumptionRanking = "EnergyConsumptionRanking";

        /// <summary>
        /// 塔吊
        /// </summary>
        public static readonly string DeviceClass_TowerCrane = "TowerCrane";



    }
}
